package com.example.umeng_sdk;

import java.io.Serializable;

/**
 * Created by zhangyuncai on 2018/10/10.
 */

public class ThirdInfoModel implements Serializable {
    private String name;//姓名
    private String iconurl;//平台icon
    private String gender;//
    private String openid;//
    private String uid;//
    private ThirdInfoModel.SHARE_MEDIA platform;//平台类型
    private String type;//平台类型
    private String email;

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getIconurl() {
        return iconurl;
    }

    public void setIconurl(String iconurl) {
        this.iconurl = iconurl;
    }

    public String getGender() {
        return gender;
    }

    public void setGender(String gender) {
        this.gender = gender;
    }

    public String getOpenid() {
        return openid;
    }

    public void setOpenid(String openid) {
        this.openid = openid;
    }

    public String getUid() {
        return uid;
    }

    public void setUid(String uid) {
        this.uid = uid;
    }

    public ThirdInfoModel.SHARE_MEDIA getPlatform() {
        return platform;
    }

    public void setPlatform(ThirdInfoModel.SHARE_MEDIA platform) {
        this.platform = platform;
    }

    @Override
    public String toString() {
        return "ThirdInfoModel{" +
                "name='" + name + '\'' +
                ", iconurl='" + iconurl + '\'' +
                ", gender='" + gender + '\'' +
                ", openid='" + openid + '\'' +
                ", uid='" + uid + '\'' +
                ", platform=" + platform +
                ", type='" + type + '\'' +
                '}';
    }

    public static enum  SHARE_MEDIA{
        WEIXIN,
        FACEBOOK
    }
}
